package com.liaoyifan.core.converter.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.mapstruct.Qualifier;

@SuppressWarnings("unused")
public interface MaskConversion {

    @Qualifier @Target(ElementType.METHOD)
    @Retention(RetentionPolicy.CLASS)
    @interface MaskEmail {}

    @Qualifier @Target(ElementType.METHOD)
    @Retention(RetentionPolicy.CLASS)
    @interface MaskPhone {}

    @Qualifier @Target(ElementType.METHOD)
    @Retention(RetentionPolicy.CLASS)
    @interface MaskIdCard {}
}
